package com.jbp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jbp.model.PrizePool;
import com.jbp.model.PrizePoolRecord;
import com.jbp.utils.PageUtils;
import org.apache.ibatis.annotations.Param;

import java.util.LinkedList;
import java.util.List;
import java.util.Map;

/**
 * 奖池列表
 *
 * @author lucheng feng
 * @email retailers@gmail.com
 * @date 2020-06-26 13:49:50
 */
public interface PrizePoolService extends IService<PrizePool> {

    PageUtils queryPage(Map<String, Object> params);

    Integer  getMaxPrizeNum();

    Integer bulkInsert(@Param("list") LinkedList<Integer> list, @Param("prizeId") Integer prizeId);

    Integer delPool(List<PrizePool> prPolRecord);


    List<PrizePool> getPoolList(@Param("prizeDeployId") Integer prizeDeployId , @Param("type") Integer type);
}

